@padding: 0.25rem;

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wrap {
  :global {
    .am-list-body {
      border-top: none;
    }

  }
}

.top {
  display: flex;
  align-items: center;
  padding: @padding;

  & div:last-child {
    color: #666666;
  }

  img {
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
  }

  .salesman {
    flex: 1;
    margin: 0 0.2rem;
    .ellipsis;

    & div:first-child {
      font-size: 1.2em;
    }
    & div:last-child {
      font-size: 0.9em;
      color: #999;
      margin-top: 0.1rem;
      .ellipsis;
    }

    .position {
      font-size: 0.5em;
      padding: 0.21em 0.5em;
      margin-left: 0.5em;
      color: white;
      vertical-align: middle;
    }
  }

}

.list {
  background-color: #EDF6FA;
  color: #999;
  line-height: 2.2em;
  padding: 0 @padding;
  font-size: 0.9em;

  .right {
    float: right;
  }
}

.btn {
  display: block;
  width: 7em;
  line-height: 2em;
  text-align: center;
  margin: 1rem auto;
  color: #00AFCE;
  border: 1px solid #00AFCE;

  &:active {
    background-color: #eee;
  }
}
